import { post } from '@/utils/fetch';
import { getPositionList, getAllPositionList } from '@/pages/authoritymanage/orgmanage/services';

const batchAddPositions = data => post('/usercenter-admin-app/admin/sysPosition/addPosition', data);
const updatePosition = data => post('/usercenter-admin-app/admin/sysPosition/updatePosition', data);
const removePosition = data => post('/usercenter-admin-app/admin/sysPosition/delete', data);
export { getPositionList, getAllPositionList, batchAddPositions, updatePosition, removePosition };
